package cn.train.service;

import org.apache.ibatis.session.SqlSession;
import cn.train.dao.IBackLoginDao;
import cn.train.model.Admin;
import cn.train.util.SqlSessionFactoryUtil;

public class BackLoginServices {
		SqlSession session=SqlSessionFactoryUtil.getSqlSession();
		IBackLoginDao iblogin=session.getMapper(IBackLoginDao.class);
		
		public Admin findAll(String name,String pwd){
			return iblogin.findAll(name, pwd);
		}
	
}	
